package com.model;

/**
 *
 * @author Lang Van Hao
 */
public class Product {

    private int productID;
    private String productName;

    public Product() {
    }

    /**
     * Contructor for ProductClass
     * @param productID
     * @param productName
     */
    public Product(int productID, String productName) {
        this.setData(productID, productName);
    }

    /**
     * Method to set data for ProductClass
     * @param productID
     * @param productName
     */
    public void setData(int productID, String productName) {
        this.setProductID(productID);
        this.setProductName(productName);
    }

    /**
     * @return the productID
     */
    public int getProductID() {
        return productID;
    }

    /**
     * @param productID the productID to set
     */
    public void setProductID(int productID) {
        this.productID = productID;
    }

    /**
     * @return the productName
     */
    public String getProductName() {
        return productName;
    }

    /**
     * @param productName the productName to set
     */
    public void setProductName(String productName) {
        this.productName = productName;
    }
}
